package com.itheima.domain;

import java.util.ArrayList;
import java.util.Map;

public class User {
    private String name;
    private Integer age;
    private Map<String,Address> addressMapMap;

    public User() {
    }

    public User(String name, Integer age, Map<String, Address> addressMapMap) {
        this.name = name;
        this.age = age;
        this.addressMapMap = addressMapMap;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Map<String, Address> getAddressMapMap() {
        return addressMapMap;
    }

    public void setAddressMapMap(Map<String, Address> addressMapMap) {
        this.addressMapMap = addressMapMap;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", addressMapMap=" + addressMapMap +
                '}';
    }
}
